package org.fioma.tree.bytes;


public class InternalNodeBytes extends SimpleInternalNodeBytes<InternalNodeBytes, LeafBytes> {

	public InternalNodeBytes(InternalNodeBytes parent, byte[] label) {
		super(parent, label);
	}

	@Override
	public InternalNodeBytes createInternalNode(byte[] word) {
		return new InternalNodeBytes(this, word);
	}

	@Override
	public LeafBytes createLeaf(byte[] word) {
		return new LeafBytes(this, word);
	}

}
